<?  // Namo WebEditor dbWizard Script.
    // Copyright 1999-2003 Sejoong Namo Interacive Inc., All Rights Reserved.
    // Do not modify this block.

    // block_name  : 
    // block_type  : page header

    // target      : Windows, php, ODBC
    // page_type   : list grid
    // arg         : startrow, int, get, page
    // arg         : maxrows, int, get, page

    $a_startrow = $startrow;
    $a_maxrows = $maxrows;
    
    
    
    require('wed_php_odbc.inc');

    // checksum    : 57849
?><html>

<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<title>Nom</title>
<meta name="generator" content="Namo WebEditor v6.0">
</head>

<body bgcolor="white" text="black" link="blue" vlink="purple" alink="red">
<?  // Namo WebEditor dbWizard Script.
    // Copyright 1999-2003 Sejoong Namo Interacive Inc., All Rights Reserved.
    // Do not modify this block.

    // block_name  : Bloc de table
    // block_type  : list grid

    // server      : Vgreniers
    // userid      : 
    // passwd      : 
    // table       : Cheques
    // field       : Cheques.identifiant, string, null, 15
    // field       : Cheques.NomFamille, string, null, 50
    // field       : Cheques.Prenom, string, null, 50
    // field       : Cheques.reglement, string, null, 50
    // field       : Cheques.paiementrecu, string, null, 50
    // field       : Cheques.somme, string, null, 50
    // field       : Cheques.SommeDeprix, int, null, 0
    // field       : Cheques.PremierDeCommentaires, text, null, 0
    // disp_rows   : 350

    $w_disprows = 350;
    
    $w_sqlstr = "SELECT Cheques.identifiant, Cheques.NomFamille, Cheques.Prenom, Cheques.reglement, Cheques.paiementrecu, Cheques.somme, Cheques.SommeDeprix, Cheques.PremierDeCommentaires FROM Cheques";
    wed_read_list_process ("Vgreniers", "", "", $w_sqlstr, $w_record, $w_disprows, $a_startrow, $a_maxrows, $w_rows);

    // checksum    : 42714
?><table border="1" width="1288">
    <tr>
        <td width="91">
            <p align="center"><b>&nbsp;</b></p>
        </td>
        <td width="93">
            <p align="center"><b>&nbsp;</b></p>
        </td>
        <td width="166">
            <p align="center"><b>Nom</b></p>
        </td>
        <td width="183">
            <p align="center"><b>Prénom</b></p>
        </td>
        <td width="83">
            <p align="center"><b>Type</b></p>
        </td>
        <td width="82">
            <p align="center"><b>Somme due</b></p>
        </td>
        <td width="98">
            <p align="center"><b>Somme payée</b></p>
        </td>
        <td width="65">
            <p align="center"><b>Différence</b></p>
        </td>
        <td width="369">
            <p align="center"><b>Commentaires</b></p>
        </td>
    </tr>
<?  // Namo WebEditor dbWizard Script.
    // Copyright 1999-2003 Sejoong Namo Interacive Inc., All Rights Reserved.
    // Do not modify this block.

    // block_name  : 
    // block_type  : list loop begin


    for ($w_i = 0; $w_i < $w_rows; $w_i++) {
    	$f_Cheques_identifiant = $w_record[$w_i][0];
    	$f_Cheques_NomFamille = $w_record[$w_i][1];
    	$f_Cheques_Prenom = $w_record[$w_i][2];
    	$f_Cheques_reglement = $w_record[$w_i][3];
    	$f_Cheques_paiementrecu = $w_record[$w_i][4];
    	$f_Cheques_somme = $w_record[$w_i][5];
    	$f_Cheques_SommeDeprix = $w_record[$w_i][6];
    	$f_Cheques_PremierDeCommentaires = $w_record[$w_i][7];

    // checksum    : 59716
?>    <tr>
        <td width="91">
            <p align="center">
			<form name="form1" action="inscriptionvg.php" method="get" TARGET=_BLANK>
		    		    
		    		    
                <p align="center"><input type="submit" name="Consultation" value="Consultation"><INPUT type=hidden name=chaine value=<?echo $f_Cheques_identifiant ?>>
</p>
            </form>
            <p>&nbsp;</p>
        </td>
        <td width="93">
            <p align="center">
			<form name="form2" action="saisiereglements.php" method="get" TARGET=_BLANK>
				<p align="center"><input type="submit" name="Paiement" value="Paiement"><INPUT type=hidden name=chaine value=<?echo $f_Cheques_identifiant ?>>
</p>
            </form>
            <p>&nbsp;</p>
        </td>
        <td width="166">
            <p align="center"><?  // Namo WebEditor dbWizard Script.
                                  // Copyright 1999-2003 Sejoong Namo Interacive Inc., All Rights Reserved.
                                  // Do not modify this block.

                                  // block_name  : Champ de sortie
                                  // block_type  : write

                                  // value       : <f,Cheques.NomFamille>
                                  // cache       : "write value"

                                  wed_write($f_Cheques_NomFamille);

                                  // checksum    : 25872
                              ?></p>
        </td>
        <td width="183">
            <p align="center"><?  // Namo WebEditor dbWizard Script.
                                  // Copyright 1999-2003 Sejoong Namo Interacive Inc., All Rights Reserved.
                                  // Do not modify this block.

                                  // block_name  : Champ de sortie
                                  // block_type  : write

                                  // value       : <f,Cheques.Prenom>
                                  // cache       : "write value"

                                  wed_write($f_Cheques_Prenom);

                                  // checksum    : 45107
                              ?></p>
        </td>
        <td width="83">
            <p align="center"><?  // Namo WebEditor dbWizard Script.
                                  // Copyright 1999-2003 Sejoong Namo Interacive Inc., All Rights Reserved.
                                  // Do not modify this block.

                                  // block_name  : Champ de sortie
                                  // block_type  : write

                                  // value       : <f,Cheques.reglement>
                                  // cache       : "write value"

                                  wed_write($f_Cheques_reglement);

                                  // checksum    : 15409
                              ?></p>
        </td>
        <td width="82">
            <p align="center"><?  // Namo WebEditor dbWizard Script.
                                  // Copyright 1999-2003 Sejoong Namo Interacive Inc., All Rights Reserved.
                                  // Do not modify this block.

                                  // block_name  : Champ de sortie
                                  // block_type  : write

                                  // value       : <f,Cheques.SommeDeprix>
                                  // cache       : "write value"

                                  wed_write($f_Cheques_SommeDeprix);

                                  // checksum    : 50762
                              ?></p>
        </td>
        <td width="98">
            <p align="center"><?  // Namo WebEditor dbWizard Script.
                                  // Copyright 1999-2003 Sejoong Namo Interacive Inc., All Rights Reserved.
                                  // Do not modify this block.

                                  // block_name  : Champ de sortie
                                  // block_type  : write

                                  // value       : <f,Cheques.somme>
                                  // cache       : "write value"

                                  wed_write($f_Cheques_somme);

                                  // checksum    : 64328
                              ?></p>
        </td>
        <td width="65">
            <p align="center"><b></b></p>
            <p align="center">
			<?
                                  wed_write($f_Cheques_SommeDeprix-$f_Cheques_somme);			
			?>
			</p>
        </td>
        <td width="369">
            <p align="center"><?  // Namo WebEditor dbWizard Script.
                                  // Copyright 1999-2003 Sejoong Namo Interacive Inc., All Rights Reserved.
                                  // Do not modify this block.

                                  // block_name  : Champ de sortie
                                  // block_type  : write

                                  // value       : <f,Cheques.PremierDeCommentaires>
                                  // cache       : "write value"

                                  wed_write($f_Cheques_PremierDeCommentaires);

                                  // checksum    : 33339
                              ?></p>
        </td>
    </tr>
<?  // Namo WebEditor dbWizard Script.
    // Copyright 1999-2003 Sejoong Namo Interacive Inc., All Rights Reserved.
    // Do not modify this block.

    // block_name  : 
    // block_type  : list loop end


    }

    // checksum    : 42643
?>
    <tr>
        <td width="1278" colspan="9">
            <p align="center">&nbsp;</p>
        </td>
    </tr>
</table>
<p>&nbsp;</p>
</body>

</html>
